package model;

public class Estate 
{
	private int id;
	private String name;
	private double price;
	public Estate(int i,String n,double p)
	{
		setId(i);
		setName(n);
		setPrice(p);
	}
	public Estate(String n,double p)
	{
		setName(n);
		setPrice(p);
	}
	public int getId() 
	{
		return id;
	}
	public void setId(int id) 
	{
		this.id = id;
	}
	public String getName() 
	{
		return name;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	public double getPrice() 
	{
		return price;
	}
	public void setPrice(double price) 
	{
		this.price = price;
	}
}
